"""
元数据提取模块

包含各种视频元数据提取器的实现。
"""

from .base import MetadataExtractor, VideoMetadata, AudioMetadata, ExtractorFactory, extractor
from .ffmpeg_extractor import FFmpegMetadataExtractor
from .opencv_extractor import OpenCVMetadataExtractor
from .composite_extractor import CompositeMetadataExtractor

# 注册提取器
ExtractorFactory.register("ffmpeg", FFmpegMetadataExtractor)
ExtractorFactory.register("opencv", OpenCVMetadataExtractor)
ExtractorFactory.register("composite", CompositeMetadataExtractor)

__all__ = [
    "MetadataExtractor",
    "VideoMetadata",
    "AudioMetadata",
    "ExtractorFactory",
    "extractor",
    "FFmpegMetadataExtractor",
    "OpenCVMetadataExtractor", 
    "CompositeMetadataExtractor",
]
